﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Configuracoes.aspx.cs" Inherits="SisTransportes.Apresentacao.WebForm.Configuracoes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
        
        <script type="text/javascript">
            jQuery(function () {
                jQuery("#tab1").tabs("div.panes > div");
            });
        </script>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Configurações</h1>

        <!-- tabs -->
        <ul id="tab1" class="tabs">
          <li><a id="t1" href="#tab1">Empresa</a></li>
          <li><a id="t2" href="#tab2">Valores</a></li>
          <li><a id="t3" href="#tab2">Sistema</a></li>
        </ul>

        <!-- painel -->
        <div class="panes">

            <div class="pane">

                <!-- formulario -->
                <div class="formulario">
                    <fieldset>
                        <legend>Dados da empresa</legend>
                        <div class="linha">
                            <div class="campo">
                                <span class="leg">*Nome fantasia</span>
                                <label for="TextNomeFantasia">Nome Fantasia <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextNomeFantasia" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*Nome real da empresa</span>
                                <label for="TextNomeEmpresa">Nome da Empresa <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextNomeEmpresa" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextCnpj">CNPJ<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCnpj" ClientIDMode="Static" Width="140" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>

                        <div class="linha">
                            
                            <div class="campo">
                                <label for="TextNomeResponsavel">Nome do responsável<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextNomeResponsavel" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextCpfResponsavel">CPF do responsável<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCpfResponsavel" ClientIDMode="Static" Width="140" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextEmailResponsavel">E-mail do responsável<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextEmailResponsavel" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>
                    </fieldset>

                    <fieldset>
                        <legend>Endereço sede da empresa</legend>
                        <div class="linha">
                            <div class="campo">
                                <span class="leg">ex: Rua, Av, Alameda...</span>
                                <label for="TextEndereco">Logradouro/Endereço <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextEndereco" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextNumero">Numero <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextNumero" ClientIDMode="Static" Width="50" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">ex: casa, apartamento, sobrado...</span>
                                <label for="TextComplemento">Complemento <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextComplemento" ClientIDMode="Static" Width="140" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>

                        <div class="linha">
                            <div class="campo">
                                <label for="TextBairro">Bairro <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextBairro" ClientIDMode="Static" Width="140" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextCEP">CEP <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCEP" ClientIDMode="Static" Width="50" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextCidade">Cidade <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCidade" ClientIDMode="Static" Width="140" runat="server" />
                            </div>
                            <div class="campo">
                                <label for="TextEstado">Estado <span class="txt_red">*</span></label>
                                <asp:DropDownList ID="TextEstado" ClientIDMode="Static" Width="50" runat="server">
                                </asp:DropDownList>
                            </div>
                            <div class="clear"></div>
                        </div>

                    </fieldset>
                    
                </div>
                <!-- /formulario -->
            </div>

            <div class="pane">
                <!-- formulario -->
                <div class="formulario">
                    <fieldset>
                        <legend>Valores do contrato</legend>
                        <div class="linha">
                            <div class="campo">
                                <span class="leg">*Valor padrão da diária executivos</span>
                                <label for="TextDiaria">Diária <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextDiaria" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*Valor padrão para veículos de carga</span>
                                <label for="TextCarga">Carga <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCarga" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*Valor padrão para veículos de ponto a ponto</span>
                                <label for="TextPontoPonto">Ponto a ponto <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextPontoPonto" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>
                    </fieldset>

                    <fieldset>
                        <legend>Valores de pagamentos a motoristas</legend>
                        <div class="linha">
                            <div class="campo">
                                <span class="leg">*Valor padrão da taxa de adesão do motorista</span>
                                <label for="TextTaxaAdesao">Taxa de adesao<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextTaxaAdesao" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*porcentagem de cota da diária</span>
                                <label for="TextCotaDiaria">(%) Cota diária <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCotaDiaria" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*porcentagem de cota de carga</span>
                                <label for="TextCotaCarga">(%) Cota de carga<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCotaCarga" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*porcentagem de cota ponto a ponto</span>
                                <label for="TextCotaPontoPonto">(%) Cota ponto a ponto<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextCotaPontoPonto" ClientIDMode="Static" Width="100" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>
                    </fieldset>
                    
                </div>
                <!-- /formulario -->
            </div>

            <div class="pane">
                <!-- formulario -->
                <div class="formulario">
                    <fieldset>
                        <legend>Sistema</legend>
                        <div class="linha">
                            <div class="campo">
                                <span class="leg">*Title do cabeçalho do sistema</span>
                                <label for="TextTitulo">Título <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextTitulo" ClientIDMode="Static" Width="180" runat="server" />
                            </div>
                            <div class="campo">
                                <span class="leg">*Frase complementar</span>
                                <label for="TextSlogan">Slogan <span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextSlogan" ClientIDMode="Static" Width="220" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>

                        <div class="linha">
                            <div class="campo">
                                <span class="leg">*url da imagem jpg, png ou gif</span>
                                <label for="TextLogo">Logo<span class="txt_red">*</span></label>
                                <asp:TextBox ID="TextLogo" ClientIDMode="Static" Width="400" runat="server" />
                            </div>
                            <div class="clear"></div>
                        </div>
                    </fieldset>
                     
                    <fieldset>
                        <legend>Especificações</legend>
                        <div class="linha">
                            <div class="campo">
                                <label for="LblPlataforma">IP Host</label>
                                <b><%=HttpContext.Current.Request.ServerVariables["REMOTE_HOST"]%></b>
                            </div>
                            <div class="campo">
                                <label for="LblProtocolo">Protocolo de acesso </label>
                                <b><%=HttpContext.Current.Request.ServerVariables["SERVER_PROTOCOL"]%></b>
                            </div>
                            <div class="campo">
                                <label for="LblDominio">Dominio</label>
                                <b><%=HttpContext.Current.Request.ServerVariables["SERVER_NAME"]%></b>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="linha">
                            <div class="campo">
                                <label for="LblPlataforma">Info Plataforma</label>
                                <b><%=HttpContext.Current.Request.ServerVariables["ALL_RAW"]%></b>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </fieldset>
                </div>
                <!-- /formulario -->
            </div>

        </div>
        <!-- /painel -->

        <div class="formulario">
            <div class="linha">
                <div class="campo">
                    <asp:Button ID="BtnSalvar" Text="Salvar" ClientIDMode="Static" runat="server" />
                </div>
            </div>
        </div>

        <div class="clear"></div>
        <!-- /tabs -->

</asp:Content>
